package com.zlkj.pro.modular.admin.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zlkj.pro.modular.admin.model.dto.ResourcesAdminDTO;
import com.zlkj.pro.modular.admin.model.vo.ResourcesAdminVO;
import com.zlkj.pro.modular.common.entity.ResourcesEntity;

import java.util.List;

/**
 * @author 孙铭泽
 * @date 2022/9/23
 * @time 20:12
 */
public interface ResourcesAdminService extends IService<ResourcesEntity> {

    PageResult<ResourcesAdminVO> findPage(ResourcesAdminDTO resourcesAdminDTO);

    List<ResourcesAdminVO> findList(ResourcesAdminDTO resourcesAdminDTO);

    ResourcesAdminVO findDetail(ResourcesAdminDTO resourcesAdminDTO);

    boolean add(ResourcesAdminDTO resourcesAdminDTO);

    boolean edit(ResourcesAdminDTO resourcesAdminDTO);

    boolean delete(ResourcesAdminDTO resourcesAdminDTO);

}
